/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package sp.dao;

import java.util.List;
import sp.model.Kecamatan;
import sp.model.OptionB1r1;

/**
 *
 * @author Imam Habib Pamungkas <imamhabibpamungkas@gmail.com>
 */
public class KecamatanDao extends DaoService<Kecamatan> {

    private KecamatanDao() {
        super(Kecamatan.class);
    }

    public static KecamatanDao getInstance() {
        return KecamatanDaoHolder.INSTANCE;
    }

    public List<Object> getBy(String kecamatanfindByKota, String kota, OptionB1r1 kodeKab) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    private static class KecamatanDaoHolder {

        private static final KecamatanDao INSTANCE = new KecamatanDao();
    }

    @Override
    public Kecamatan getSingleBy(String N, String p, String k) {
        return (Kecamatan) super.getSingleBy(N, p, k); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public Kecamatan getByID(Object id) {
        return super.getByID(id); //To change body of generated methods, choose Tools | Templates.
    }
}
